]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Adjust date format
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 10 Feb 2020 22:11:26 +0000 (19:11 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 10 Feb 2020 22:30:51 +0000 (22:30 +0000)
As per design feedback at FOSDEM, adjust the time format to
not have a comma, nor padding.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

js/ui/unlockDialog.js

index acc92f4ef2208540e85b1f0ff92c557c7136769e..07545da49de957bd10dff7a9070fec9470d84036 100644 (file)
@@ -43,7 +43,7 @@ class UnlockDialogClock extends St.BoxLayout {
         let date = new Date();
         /* Translators: This is a time format for a date in
            long format */
-        let dateFormat = Shell.util_translate_time_string(N_('%A, %B %d'));
+        let dateFormat = Shell.util_translate_time_string(N_('%A %B %-d'));
         this._date.text = date.toLocaleFormat(dateFormat);
     }